<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >

<mapper namespace="${mapperp}" >

    <#--<#list mapperxmlinfo as xmlentity>-->
    <#--<resultMap id="BaseResultMap" type="${xmlentity.entitypackagename}.${xmlentity.javaname}" >-->
        <#--<#list xmlentity.tableEntity.columnEntitys as res>-->
            <#--<#if res.COLUMN_KEY=true>-->
            <#--<id column="${res.COLUMN_NAME}" property="${xmlentity.tabname_javaname_map[res.COLUMN_NAME]}"  />-->
            <#--<#else >-->
            <#--<result column="${res.COLUMN_NAME}" property="${xmlentity.tabname_javaname_map[res.COLUMN_NAME]}" />-->
            <#--</#if>-->
        <#--</#list>-->
    <#--</resultMap>-->
 <#--</#list>-->

    <#list selectxml as  ssql>

              <select id="${ssql.xmlselectname}" resultType="${ssql.returnType}">
                        ${ssql.xmlselectsql}
              </select>

    </#list>
    <#list updatexml as  usql>

          <select id="${usql.xmlselectname}">
              ${usql.xmlselectsql}
          </select>

    </#list>
    <#list deletexml as  isql>

              <select id="${isql.xmlselectname}">
                  ${isql.xmlselectsql}
              </select>

    </#list>
    <#list deletexml as  dsql>

              <select id="${dsql.name}">
                  ${dsql.xmlselectsql}
              </select>

    </#list>



</mapper>